<div class="header">
    <back-Btn></back-Btn>
    借证件
    <div class="right-btn" ng-click="submit()">
        提交
    </div>
</div>
<div class="container finance">
    <div class="list f_sk">
        <label class="flex list-item icon_clock required">
            <div class="c9 w45">预计归还日期:</div>
            <div class="w55">
                <input type="text" date-directive id="start_date" ng-model="param.returnDate" />
            </div>
        </label>
        <div class="list-item list-item-textarea">
            <div class="c9">借证事由:</div>
            <textarea cols="30" rows="10" ng-model="param.receiveDesc"></textarea>
        </div>
        <div class="list-item flex icon_rightArrow" ng-click="choosePeople()">
            <div class="w40 c9">工程名称:</div>
            <div class="w60">{{param.projectName}}</div>
        </div>
        <div class="list-item flex icon_rightArrow required" ng-click="getChoosecertId()">
            <div class="w40 c9">借证明细:</div>
            <div class="w60">{{param.certificates.length}}</div>
        </div>
        <div class="selectinfo">
            <div class="list tablestyle ">
                <div class="info-tip" ng-show="param.certificates.length>0">已选择证件</div>
                <div class="list-item" ng-repeat="item in param.certificates" ng-class='{mt0:$first}'>
                    <!-- <p class="item-num"><span>{{$index+1}}</span></p> -->
                    <div class="delete_icon icon_del" ng-click="deletedItem($index)">X</div>
                    <div class="grid list-content">
                        <div class="col-1-4 c9">证件编号</div>
                        <div class="col-3-4">{{item.certificateId}}</div>
                    </div>
                    <div class="grid list-content">
                        <div class="col-1-4 c9">姓名</div>
                        <div class="col-3-4">{{item.ownerName}}</div>
                    </div>
                    <div class="grid list-content">
                        <div class="col-1-4 c9">证书类别</div>
                        <div class="col-3-4">{{item.certificateType}}</div>
                    </div>
                    <div class="grid list-content">
                        <div class="col-1-4 c9">专业</div>
                        <div class="col-3-4">{{item.major}}</div>
                    </div>
                </div>
            </div>
        </div>
        <div user-defined field-map="param.fieldMap" validation="validation"></div>
        <!-- 审查日志 -->
        <div log-list log-result='logData.result'></div>
        <!-- 删除流程 -->
        <div delete-flow id="{{param.processInstanceId}}" ng-show="logData.result.length"></div>
    </div>
</div>
